.class public final Lcom/wqmobile/sdk/widget/ADView;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/widget/ViewSwitcher$ViewFactory;


# static fields
.field private static b:Lcom/wqmobile/sdk/a/a;

.field private static r:Ljava/lang/Boolean;

.field private static u:Lcom/wqmobile/sdk/model/AdvertisementProperties;


# instance fields
.field private A:Landroid/widget/ImageView;

.field private B:Landroid/widget/ImageView;

.field private C:Landroid/widget/TextView;

.field private D:Landroid/widget/RelativeLayout;

.field private E:Landroid/widget/RelativeLayout;

.field private F:Z

.field private G:Z

.field private H:I

.field private I:I

.field private J:Lcom/wqmobile/sdk/widget/af;

.field private K:I

.field private L:Ljava/lang/String;

.field private M:Landroid/widget/FrameLayout;

.field private N:Lcom/wqmobile/sdk/widget/ah;

.field private O:Z

.field private P:Landroid/widget/FrameLayout;

.field private Q:Landroid/webkit/WebView;

.field private R:Ljava/util/Timer;

.field private S:J

.field private T:Ljava/util/Timer;

.field a:Z

.field private c:Landroid/app/Activity;

.field private final d:Landroid/widget/LinearLayout;

.field private e:Landroid/widget/ImageSwitcher;

.field private f:Ljava/lang/Boolean;

.field private g:Landroid/widget/LinearLayout;

.field private h:Landroid/widget/RelativeLayout;

.field private i:Landroid/widget/FrameLayout;

.field private j:Landroid/widget/VideoView;

.field private k:Ljava/sql/Timestamp;

.field private l:Landroid/widget/ViewFlipper;

.field private m:Landroid/view/View$OnClickListener;

.field private n:Ljava/lang/Integer;

.field private o:Ljava/lang/Integer;

.field private p:Ljava/lang/Integer;

.field private q:I

.field private s:Ljava/lang/Boolean;

.field private t:Ljava/lang/String;

.field private v:Ljava/util/List;

.field private w:Ljava/lang/Boolean;

.field private x:I

.field private y:Landroid/widget/RelativeLayout;

.field private z:Landroid/widget/ImageView;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    sput-object v0, Lcom/wqmobile/sdk/widget/ADView;->r:Ljava/lang/Boolean;

    const/4 v0, 0x0

    sput-object v0, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 6

    const/4 v5, -0x1

    const/4 v4, 0x1

    const/4 v3, 0x0

    const/4 v2, 0x0

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    new-instance v0, Landroid/widget/ImageSwitcher;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageSwitcher;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->e:Landroid/widget/ImageSwitcher;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    new-instance v0, Landroid/widget/VideoView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/VideoView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    new-instance v0, Lcom/wqmobile/sdk/widget/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/wqmobile/sdk/widget/a;-><init>(Lcom/wqmobile/sdk/widget/ADView;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->m:Landroid/view/View$OnClickListener;

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->p:Ljava/lang/Integer;

    iput v5, p0, Lcom/wqmobile/sdk/widget/ADView;->q:I

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->s:Ljava/lang/Boolean;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->w:Ljava/lang/Boolean;

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    iput-boolean v2, p0, Lcom/wqmobile/sdk/widget/ADView;->F:Z

    iput-boolean v2, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->H:I

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->I:I

    sget-object v0, Lcom/wqmobile/sdk/widget/af;->a:Lcom/wqmobile/sdk/widget/af;

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->K:I

    new-instance v0, Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->N:Lcom/wqmobile/sdk/widget/ah;

    iput-boolean v4, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    iput-boolean v2, p0, Lcom/wqmobile/sdk/widget/ADView;->a:Z

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    const-wide/16 v0, -0x1

    iput-wide v0, p0, Lcom/wqmobile/sdk/widget/ADView;->S:J

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    check-cast p1, Landroid/app/Activity;

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    :try_start_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;)Lcom/wqmobile/sdk/a/a;

    move-result-object v0

    sput-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->e:Landroid/widget/ImageSwitcher;

    const v1, 0x94783

    invoke-virtual {v0, v1}, Landroid/widget/ImageSwitcher;->setId(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->e:Landroid/widget/ImageSwitcher;

    invoke-virtual {v0, p0}, Landroid/widget/ImageSwitcher;->setFactory(Landroid/widget/ViewSwitcher$ViewFactory;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->N:Lcom/wqmobile/sdk/widget/ah;

    return-void

    :catch_0
    move-exception v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 6

    const/4 v5, -0x1

    const/4 v4, 0x1

    const/4 v3, 0x0

    const/4 v2, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    new-instance v0, Landroid/widget/LinearLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    new-instance v0, Landroid/widget/ImageSwitcher;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageSwitcher;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->e:Landroid/widget/ImageSwitcher;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    new-instance v0, Landroid/widget/VideoView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/VideoView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    new-instance v0, Lcom/wqmobile/sdk/widget/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/wqmobile/sdk/widget/a;-><init>(Lcom/wqmobile/sdk/widget/ADView;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->m:Landroid/view/View$OnClickListener;

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->p:Ljava/lang/Integer;

    iput v5, p0, Lcom/wqmobile/sdk/widget/ADView;->q:I

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->s:Ljava/lang/Boolean;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->w:Ljava/lang/Boolean;

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    new-instance v0, Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    iput-boolean v2, p0, Lcom/wqmobile/sdk/widget/ADView;->F:Z

    iput-boolean v2, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->H:I

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->I:I

    sget-object v0, Lcom/wqmobile/sdk/widget/af;->a:Lcom/wqmobile/sdk/widget/af;

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->K:I

    new-instance v0, Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->N:Lcom/wqmobile/sdk/widget/ah;

    iput-boolean v4, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    iput-boolean v2, p0, Lcom/wqmobile/sdk/widget/ADView;->a:Z

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    const-wide/16 v0, -0x1

    iput-wide v0, p0, Lcom/wqmobile/sdk/widget/ADView;->S:J

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    check-cast p1, Landroid/app/Activity;

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    iput-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->N:Lcom/wqmobile/sdk/widget/ah;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;)Lcom/wqmobile/sdk/a/a;

    move-result-object v0

    sput-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->e:Landroid/widget/ImageSwitcher;

    const v1, 0x94783

    invoke-virtual {v0, v1}, Landroid/widget/ImageSwitcher;->setId(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->e:Landroid/widget/ImageSwitcher;

    invoke-virtual {v0, p0}, Landroid/widget/ImageSwitcher;->setFactory(Landroid/widget/ViewSwitcher$ViewFactory;)V

    return-void
.end method

.method static synthetic A(Lcom/wqmobile/sdk/widget/ADView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    return v0
.end method

.method static synthetic B(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->r()V

    return-void
.end method

.method private a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;
    .locals 2

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/a/a;->e(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/a/a;->d(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/Class;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v0

    invoke-static {v0}, Landroid/graphics/BitmapFactory;->decodeStream(Ljava/io/InputStream;)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0, p1, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Landroid/graphics/drawable/BitmapDrawable;)V

    move-object v0, v1

    goto :goto_0
.end method

.method private a(Landroid/view/View;Lcom/wqmobile/sdk/model/AdvertisementProperties;)Landroid/view/View;
    .locals 13

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    if-nez v0, :cond_1

    new-instance v0, Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x1

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xb

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x1

    invoke-direct {v2, v3, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, 0x6

    const/4 v4, 0x6

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0x9

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v3, 0xa

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v3, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v4, "top_left.png"

    invoke-direct {p0, v4}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, 0x6

    const/4 v5, 0x6

    invoke-direct {v2, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0x9

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v4, 0xc

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v4, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "left_bottom.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v4, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, 0x6

    const/4 v6, 0x6

    invoke-direct {v2, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v5, 0xb

    invoke-virtual {v2, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v5, 0xa

    invoke-virtual {v2, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v5, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v6, "top_right.png"

    invoke-direct {p0, v6}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v5, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v6, 0x6

    const/4 v7, 0x6

    invoke-direct {v2, v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v6, 0xb

    invoke-virtual {v2, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v6, 0xc

    invoke-virtual {v2, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v6, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v7

    invoke-direct {v6, v7}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v7, "right_bottom.png"

    invoke-direct {p0, v7}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v6, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v1, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v6}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, 0x6

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xa

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v3, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v4, "top.png"

    invoke-direct {p0, v4}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v2, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, -0x1

    const/4 v5, 0x6

    invoke-direct {v2, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0xc

    invoke-virtual {v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v4, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "bottom.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v4, v2}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v2, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v4, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-virtual {v1, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v2

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, 0x6

    div-int/lit8 v5, v2, 0x2

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0x9

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v4, 0xa

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v4, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "left_up.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v4, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v4, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, 0x6

    div-int/lit8 v6, v2, 0x2

    sub-int v6, v2, v6

    invoke-direct {v3, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v5, 0x9

    invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v5, 0xc

    invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v5, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v6, "left_down.png"

    invoke-direct {p0, v6}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v5, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v6, 0x6

    div-int/lit8 v7, v2, 0x2

    invoke-direct {v3, v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v6, 0xb

    invoke-virtual {v3, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v6, 0xa

    invoke-virtual {v3, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v6, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v7

    invoke-direct {v6, v7}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v7, "right_up.png"

    invoke-direct {p0, v7}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v6, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v6, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v7, 0x6

    div-int/lit8 v8, v2, 0x2

    sub-int/2addr v2, v8

    invoke-direct {v3, v7, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0xb

    invoke-virtual {v3, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v2, 0xc

    invoke-virtual {v3, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    new-instance v2, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v7

    invoke-direct {v2, v7}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v7, "right_down.png"

    invoke-direct {p0, v7}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v7

    invoke-virtual {v2, v7}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-virtual {v1, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v6}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v1

    div-int/lit8 v2, v1, 0x2

    div-int/lit8 v3, v1, 0x5

    mul-int/lit8 v4, v3, 0x3

    div-int/lit8 v4, v4, 0x2

    sub-int v4, v1, v4

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    if-nez v5, :cond_0

    new-instance v5, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->h()V

    new-instance v5, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v6, "logo_back.png"

    invoke-direct {p0, v6}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v6

    invoke-virtual {v6}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v7

    invoke-virtual {v7}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v7

    invoke-virtual {v6}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v8

    invoke-virtual {v8}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v8

    mul-int/2addr v8, v1

    div-int/2addr v8, v7

    add-int/lit8 v8, v8, 0x1

    int-to-double v9, v8

    const-wide v11, 0x3fc3333333333333L

    mul-double/2addr v9, v11

    double-to-int v9, v9

    mul-int/lit8 v10, v8, 0xf

    div-int/lit16 v10, v10, 0x96

    iput v10, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    sget-object v10, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v10, "WQHW"

    new-instance v11, Ljava/lang/StringBuilder;

    const-string v12, "width:"

    invoke-direct {v11, v12}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v6}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v12

    invoke-virtual {v12}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, " height:"

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v6}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v12

    invoke-virtual {v12}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, " back width:"

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    const-string v12, "peddingleft:"

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    invoke-static {v10, v11}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v6, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v10, -0x1

    invoke-direct {v6, v8, v10}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    sget-object v10, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v10}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const/16 v10, 0x9

    invoke-virtual {v6, v10}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v10, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v10, v5, v6}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const-string v5, "arrow_to_left.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v5}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v6

    invoke-virtual {v6}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    mul-int/2addr v6, v1

    div-int/2addr v6, v7

    invoke-virtual {v5}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v10

    invoke-virtual {v10}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v10

    mul-int/2addr v1, v10

    div-int/2addr v1, v7

    iget v7, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    sub-int/2addr v7, v6

    const/4 v10, 0x1

    sub-int/2addr v7, v10

    iget-object v10, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    invoke-virtual {v10, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    sget-object v10, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v10}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v6, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v10, 0xf

    invoke-virtual {v5, v10}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v7, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v10, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    iget-object v11, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    invoke-virtual {v10, v11, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const-string v5, "arrow_to_right.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    iget-object v10, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    invoke-virtual {v10, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    sget-object v10, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v10}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v6, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xf

    invoke-virtual {v5, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v7, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    iget-object v6, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    invoke-virtual {v1, v6, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    const/4 v5, 0x0

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setAlpha(I)V

    new-instance v1, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v1, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "wq_logo.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    sget-object v5, Landroid/widget/ImageView$ScaleType;->FIT_START:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v6, -0x2

    invoke-direct {v5, v6, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v6, 0xa

    invoke-virtual {v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v3, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    const/16 v6, 0x9

    invoke-virtual {v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v9, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v6, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v6, v1, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    mul-int/lit16 v1, v4, 0x9b

    div-int/lit8 v1, v1, 0x42

    add-int/2addr v1, v9

    int-to-double v4, v1

    int-to-float v1, v8

    float-to-double v6, v1

    const-wide v9, 0x3fb47ae147ae147bL

    mul-double/2addr v6, v9

    add-double/2addr v4, v6

    double-to-int v1, v4

    new-instance v4, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "call_btn.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v5, Lcom/wqmobile/sdk/widget/b;

    invoke-direct {v5, p0}, Lcom/wqmobile/sdk/widget/b;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v2, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0x2397

    invoke-virtual {v4, v2}, Landroid/widget/ImageView;->setId(I)V

    const/16 v2, 0x9

    invoke-virtual {v5, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v2, 0xa

    invoke-virtual {v5, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v1, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v3, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v4, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v2, -0x1

    invoke-direct {v1, v8, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    const/4 v3, 0x5

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->setGravity(I)V

    const/4 v2, 0x5

    iput v2, v1, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    neg-int v2, v8

    iget v3, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    add-int/2addr v2, v3

    iput v2, v1, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v1}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    new-instance v2, Lcom/wqmobile/sdk/widget/c;

    invoke-direct {v2, p0, v8}, Lcom/wqmobile/sdk/widget/c;-><init>(Lcom/wqmobile/sdk/widget/ADView;I)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    :cond_0
    const-string v1, "WQHW"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "wqlogo left in create logo view:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getLeft()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " r:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getRight()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->s()V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->q()V

    const-string v1, "WQHW"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "wqlogo left in create logo view:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getLeft()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " r:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getRight()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->h()V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->j()I

    move-result v1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->i()I

    move-result v2

    int-to-float v2, v2

    const/high16 v3, 0x3f00

    mul-float/2addr v2, v3

    float-to-int v2, v2

    int-to-float v1, v1

    const/high16 v3, 0x3f00

    mul-float/2addr v1, v3

    float-to-int v1, v1

    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v3, v2, v1}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0x55

    iput v1, v3, Landroid/widget/FrameLayout$LayoutParams;->gravity:I

    mul-int/lit8 v1, v2, 0x3

    div-int/lit8 v1, v1, 0xa

    iput v1, v3, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    div-int/lit8 v1, v2, 0x5

    iput v1, v3, Landroid/widget/FrameLayout$LayoutParams;->bottomMargin:I

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    if-eqz v1, :cond_6

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->removeAllViews()V

    :goto_0
    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v1, p2}, Lcom/wqmobile/sdk/a/a;->c(Lcom/wqmobile/sdk/model/AdvertisementProperties;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    const-string v3, "actionbtnback.png"

    invoke-direct {p0, v3}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->E:Landroid/widget/RelativeLayout;

    if-nez v2, :cond_7

    new-instance v2, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->E:Landroid/widget/RelativeLayout;

    :goto_1
    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x2

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xe

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v3, 0xf

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->E:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v2}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    const-string v3, "clickbtn.png"

    invoke-direct {p0, v3}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    const/4 v3, -0x1

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    const/16 v2, 0x11

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/16 v2, 0x50

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->E:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->E:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/16 v2, 0x6b

    const/4 v3, -0x1

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v1}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->m()Landroid/view/View$OnClickListener;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v1, -0x1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v2

    invoke-direct {v0, v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xb

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v1, -0x6b

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :goto_2
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "IA Status :"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/widget/af;->name()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x1

    invoke-direct {v1, v2, v3}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->a:Lcom/wqmobile/sdk/widget/af;

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->e:Lcom/wqmobile/sdk/widget/af;

    if-eq v0, v1, :cond_2

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->f:Lcom/wqmobile/sdk/widget/af;

    if-ne v0, v1, :cond_9

    :cond_2
    :goto_3
    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getChildCount()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->addView(Landroid/view/View;)V

    :cond_3
    iget v0, p0, Lcom/wqmobile/sdk/widget/ADView;->I:I

    const/4 v1, 0x5

    if-ne v0, v1, :cond_4

    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->w:Ljava/lang/Boolean;

    const/4 v0, 0x0

    iput v0, p0, Lcom/wqmobile/sdk/widget/ADView;->I:I

    :cond_4
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->w:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    if-eqz v0, :cond_5

    new-instance v9, Landroid/view/animation/AnimationSet;

    const/4 v0, 0x0

    invoke-direct {v9, v0}, Landroid/view/animation/AnimationSet;-><init>(Z)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->j()I

    move-result v0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->i()I

    move-result v1

    int-to-float v2, v1

    const/high16 v3, 0x3f00

    mul-float/2addr v2, v3

    float-to-int v2, v2

    int-to-float v3, v0

    const/high16 v4, 0x3f00

    mul-float/2addr v3, v4

    float-to-int v3, v3

    div-int/lit8 v4, v0, 0x2

    add-int/2addr v1, v4

    sub-int/2addr v1, v2

    mul-int/lit8 v2, v2, 0x3

    div-int/lit8 v2, v2, 0xa

    sub-int v10, v1, v2

    div-int/lit8 v1, v0, 0x3

    add-int/2addr v0, v1

    sub-int/2addr v0, v3

    div-int/lit8 v1, v3, 0x5

    sub-int v11, v0, v1

    const-string v0, "WQHW"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "toX: "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " toY:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v11}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    neg-int v1, v10

    div-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    neg-int v2, v10

    div-int/lit8 v2, v2, 0x2

    int-to-float v2, v2

    neg-int v3, v11

    div-int/lit8 v3, v3, 0x2

    int-to-float v3, v3

    neg-int v4, v11

    div-int/lit8 v4, v4, 0x2

    int-to-float v4, v4

    invoke-direct {v0, v1, v2, v3, v4}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v1, 0x320

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    invoke-virtual {v9, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/view/animation/ScaleAnimation;

    const/4 v1, 0x0

    const/high16 v2, 0x3f80

    const/4 v3, 0x0

    const/high16 v4, 0x3f80

    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    const/4 v8, 0x0

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V

    const-wide/16 v1, 0x320

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/ScaleAnimation;->setDuration(J)V

    invoke-virtual {v9, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/view/animation/ScaleAnimation;

    const/high16 v1, 0x4000

    const/high16 v2, 0x3f80

    const/high16 v3, 0x4000

    const/high16 v4, 0x3f80

    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    const/4 v8, 0x0

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V

    const-wide/16 v1, 0x320

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/ScaleAnimation;->setStartOffset(J)V

    const-wide/16 v1, 0x1f4

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/ScaleAnimation;->setDuration(J)V

    invoke-virtual {v9, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/4 v1, 0x0

    div-int/lit8 v2, v10, 0x2

    int-to-float v2, v2

    const/4 v3, 0x0

    div-int/lit8 v4, v11, 0x2

    int-to-float v4, v4

    invoke-direct {v0, v1, v2, v3, v4}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v1, 0x320

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setStartOffset(J)V

    const-wide/16 v1, 0x1f4

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    invoke-virtual {v9, v0}, Landroid/view/animation/AnimationSet;->addAnimation(Landroid/view/animation/Animation;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v9}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v1, 0x42c8

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-direct {v0, v1, v2, v3, v4}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v1, 0x514

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setStartOffset(J)V

    const-wide/16 v1, 0x1f4

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->w:Ljava/lang/Boolean;

    :cond_5
    iget v0, p0, Lcom/wqmobile/sdk/widget/ADView;->I:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/wqmobile/sdk/widget/ADView;->I:I

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->i:Landroid/widget/FrameLayout;

    return-object v0

    :cond_6
    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    new-instance v2, Lcom/wqmobile/sdk/widget/y;

    invoke-direct {v2, p0}, Lcom/wqmobile/sdk/widget/y;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0

    :cond_7
    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->E:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->removeAllViews()V

    goto/16 :goto_1

    :cond_8
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0, p2}, Lcom/wqmobile/sdk/a/a;->c(Lcom/wqmobile/sdk/model/AdvertisementProperties;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->C:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_2

    :cond_9
    new-instance v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v1, "processbar.png"

    invoke-direct {p0, v1}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    new-instance v2, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x1

    invoke-direct {v2, v3, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v0, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/Button;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/16 v4, 0x2f

    const/16 v5, 0x1e

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0xb

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v4, 0xf

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget v4, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    iput v4, v3, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    const/16 v4, 0x2706

    invoke-virtual {v2, v4}, Landroid/widget/Button;->setId(I)V

    invoke-virtual {v1, v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v3, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, -0x2

    const/16 v6, 0x19

    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    sget-object v5, Landroid/widget/ImageView$ScaleType;->FIT_END:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v5}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const/16 v5, 0xf

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/4 v5, 0x0

    const/16 v6, 0x2706

    invoke-virtual {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {v1, v3, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    new-instance v5, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v6, -0x1

    const/4 v7, -0x1

    invoke-direct {v5, v6, v7}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v1, v5}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v5, Lcom/wqmobile/sdk/widget/af;->b:Lcom/wqmobile/sdk/widget/af;

    if-ne v4, v5, :cond_b

    new-instance v2, Landroid/view/animation/TranslateAnimation;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getWidth()I

    move-result v3

    neg-int v3, v3

    int-to-float v3, v3

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-direct {v2, v3, v4, v5, v6}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v3, 0x1770

    invoke-virtual {v2, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V

    new-instance v3, Lcom/wqmobile/sdk/widget/z;

    invoke-direct {v3, p0}, Lcom/wqmobile/sdk/widget/z;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v3}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    const/16 v0, 0x8

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_a
    :goto_4
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    goto/16 :goto_3

    :cond_b
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->c:Lcom/wqmobile/sdk/widget/af;

    if-ne v0, v1, :cond_c

    const-string v0, "operaction_success.png"

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const-string v0, "click_s.png"

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Lcom/wqmobile/sdk/widget/aa;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/aa;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/wqmobile/sdk/widget/ab;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/ab;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_4

    :cond_c
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->d:Lcom/wqmobile/sdk/widget/af;

    if-ne v0, v1, :cond_a

    const-string v0, "operaction_fail.png"

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const-string v0, "retry_s.png"

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Lcom/wqmobile/sdk/widget/ac;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/ac;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Lcom/wqmobile/sdk/widget/ae;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/ae;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_4
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    return-object v0
.end method

.method private a(Z)Ljava/util/TimerTask;
    .locals 1

    new-instance v0, Lcom/wqmobile/sdk/widget/t;

    invoke-direct {v0, p0, p1}, Lcom/wqmobile/sdk/widget/t;-><init>(Lcom/wqmobile/sdk/widget/ADView;Z)V

    return-object v0
.end method

.method private a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V
    .locals 5

    new-instance v0, Ljava/sql/Timestamp;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-direct {v0, v1, v2}, Ljava/sql/Timestamp;-><init>(J)V

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->k:Ljava/sql/Timestamp;

    invoke-static {v1, v0}, Lcom/wqmobile/sdk/a/a;->a(Ljava/sql/Timestamp;Ljava/sql/Timestamp;)J

    move-result-wide v0

    invoke-static {p1}, Lcom/wqmobile/sdk/widget/ADView;->b(Lcom/wqmobile/sdk/model/AdvertisementProperties;)Z

    move-result v2

    if-nez v2, :cond_0

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {p1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v3

    const-string v4, "click"

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRunningCount()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v2, v3, v4, v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;I)V
    .locals 0

    iput p1, p0, Lcom/wqmobile/sdk/widget/ADView;->H:I

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;Lcom/wqmobile/sdk/widget/af;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/Boolean;)V
    .locals 0

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/ADView;->L:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;Z)V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    return-void
.end method

.method static synthetic a(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;Z)Z
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;Z)Z

    move-result v0

    return v0
.end method

.method private a(Ljava/lang/String;Z)Z
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_0

    move v0, v3

    :goto_0
    return v0

    :cond_0
    const-string v0, "http:"

    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "http://"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_1
    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AppSettings;->isOpenInEmbeddedBrowser()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->openBuildInWebView(Ljava/lang/String;)V

    move v0, v2

    goto :goto_0

    :cond_1
    if-eqz p2, :cond_2

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->k()Z

    move-result v1

    if-eqz v1, :cond_3

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-static {v1, v0}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    move v0, v2

    goto :goto_0

    :cond_2
    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-static {v1, v0}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    move v0, v2

    goto :goto_0

    :cond_3
    move v0, v3

    goto :goto_0

    :cond_4
    move-object v0, p1

    goto :goto_1
.end method

.method static synthetic b(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;
    .locals 1

    invoke-direct {p0, p1}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    return-object v0
.end method

.method static synthetic b()Lcom/wqmobile/sdk/a/a;
    .locals 1

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    return-object v0
.end method

.method static synthetic b(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 9

    const/4 v7, 0x1

    const/4 v6, 0x0

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-gtz v1, :cond_1

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    :goto_0
    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    move-object v0, v1

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-object v2, v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->k:Ljava/sql/Timestamp;

    new-instance v3, Ljava/sql/Timestamp;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-direct {v3, v4, v5}, Ljava/sql/Timestamp;-><init>(J)V

    invoke-static {v1, v3}, Lcom/wqmobile/sdk/a/a;->a(Ljava/sql/Timestamp;Ljava/sql/Timestamp;)J

    move-result-wide v4

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    iput v1, p0, Lcom/wqmobile/sdk/widget/ADView;->K:I

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v2

    const-string v3, "InteractiveAdResult"

    invoke-static {v4, v5}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v4

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    iget-object v6, p0, Lcom/wqmobile/sdk/widget/ADView;->L:Ljava/lang/String;

    move-object v8, p0

    invoke-virtual/range {v1 .. v8}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;ZLcom/wqmobile/sdk/widget/ADView;)V

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->b:Lcom/wqmobile/sdk/widget/af;

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    :cond_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    sub-int/2addr v1, v7

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    goto :goto_0
.end method

.method static synthetic b(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/Boolean;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    return-void
.end method

.method static synthetic b(Lcom/wqmobile/sdk/widget/ADView;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/wqmobile/sdk/widget/ADView;->F:Z

    return-void
.end method

.method private static b(Lcom/wqmobile/sdk/model/AdvertisementProperties;)Z
    .locals 2

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    if-eqz v0, :cond_0

    if-eqz p0, :cond_0

    invoke-virtual {p0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic c(Lcom/wqmobile/sdk/widget/ADView;)Landroid/widget/FrameLayout;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method private c()V
    .locals 4

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_0

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->removeAllViews()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v0, v1}, Lcom/wqmobile/sdk/widget/ADView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_0
    return-void
.end method

.method static synthetic c(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;)V
    .locals 6

    const/16 v5, 0x11

    const/4 v4, -0x1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    new-instance v0, Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v1, v4, v4}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v5}, Landroid/widget/FrameLayout;->setForegroundGravity(I)V

    const/high16 v2, -0x100

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    new-instance v2, Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v2, v3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v4, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v2, v5}, Landroid/widget/LinearLayout;->setGravity(I)V

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-virtual {v3, v0, v1}, Landroid/app/Activity;->addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    invoke-virtual {v1, p1}, Landroid/widget/VideoView;->setVideoPath(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->m()Landroid/view/View$OnClickListener;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v0, v5}, Landroid/widget/FrameLayout;->setForegroundGravity(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    invoke-virtual {v0}, Landroid/widget/VideoView;->start()V

    return-void
.end method

.method static synthetic c(Lcom/wqmobile/sdk/widget/ADView;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    return-void
.end method

.method static synthetic d(Lcom/wqmobile/sdk/widget/ADView;)Landroid/webkit/WebView;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    return-object v0
.end method

.method private d()V
    .locals 4

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getBackgroundColor()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    const/high16 v0, -0x100

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->setBackgroundColor(I)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getBackgroundColor()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_1

    :cond_0
    const-string v0, "FFFFFF"

    :cond_1
    :try_start_0
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "#"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_2
    :goto_0
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getBackgroundTransparency()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AppSettings;->getBackgroundTransparency()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AppSettings;->getBackgroundTransparency()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/graphics/drawable/Drawable;->setAlpha(I)V

    :cond_3
    return-void

    :catch_0
    move-exception v0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, Lcom/wqmobile/sdk/protocol/cmd/b;->a()V

    goto :goto_0
.end method

.method static synthetic e(Lcom/wqmobile/sdk/widget/ADView;)Landroid/view/View$OnClickListener;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->m:Landroid/view/View$OnClickListener;

    return-object v0
.end method

.method private final e()V
    .locals 4

    const/4 v2, 0x1

    :try_start_0
    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v0, "I\'m in Loadads"

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->b(Ljava/lang/String;)V

    :cond_0
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-nez v1, :cond_1

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sub-int/2addr v0, v2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_3

    :cond_2
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->s:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_4

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Z)Ljava/util/TimerTask;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/TimerTask;->run()V

    :cond_3
    :goto_0
    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    :goto_1
    return-void

    :cond_4
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->v()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    const/4 v1, 0x0

    invoke-direct {p0, v1}, Lcom/wqmobile/sdk/widget/ADView;->a(Z)Ljava/util/TimerTask;

    move-result-object v1

    const-wide/16 v2, 0xbb8

    invoke-virtual {v0, v1, v2, v3}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/wqmobile/sdk/pojoxml/util/StringUtil;->PrintExceptionStatck(Ljava/lang/Exception;)V

    goto :goto_1
.end method

.method private f()V
    .locals 11

    const/4 v4, 0x1

    :try_start_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->clearAnimation()V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "show ads before adindex:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->b(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->g()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v1

    if-eqz v1, :cond_13

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iput-wide v2, p0, Lcom/wqmobile/sdk/widget/ADView;->S:J

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v2

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v3, "active ia:"

    invoke-direct {v0, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget v3, p0, Lcom/wqmobile/sdk/widget/ADView;->K:I

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v3, " show ad:"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->b(Ljava/lang/String;)V

    :cond_0
    iget v0, p0, Lcom/wqmobile/sdk/widget/ADView;->K:I

    if-eq v0, v2, :cond_1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->n()V

    const/4 v0, 0x0

    iput v0, p0, Lcom/wqmobile/sdk/widget/ADView;->K:I

    :cond_1
    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_2

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    :cond_2
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getType()Ljava/lang/String;

    move-result-object v0

    const-string v3, "T"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getText()Lcom/wqmobile/sdk/model/AdvertisementDetail;

    move-result-object v3

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->removeAllViews()V

    invoke-static {}, Ljava/lang/System;->gc()V

    :goto_0
    new-instance v4, Landroid/widget/LinearLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {v4, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v0

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    const/high16 v6, 0x4200

    invoke-static {v5, v6}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v5

    if-le v0, v5, :cond_8

    :goto_1
    sub-int/2addr v0, v5

    div-int/lit8 v6, v0, 0x2

    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v7, v5, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    const/high16 v5, 0x40e0

    invoke-static {v0, v5}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, v7, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v0, -0x1

    const/4 v8, -0x1

    const/high16 v9, 0x3f80

    invoke-direct {v5, v0, v8, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(IIF)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    const/high16 v8, 0x4120

    invoke-static {v0, v8}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, v5, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    const/high16 v8, 0x41a0

    invoke-static {v0, v8}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v0

    iput v0, v5, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    new-instance v8, Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {v8, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_3

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    const/4 v9, 0x0

    invoke-interface {v0, v9}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [B

    const/4 v9, 0x0

    array-length v10, v0

    invoke-static {v0, v9, v10}, Landroid/graphics/BitmapFactory;->decodeByteArray([BII)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v9, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v10

    invoke-direct {v9, v10}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v9, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    invoke-virtual {v9, v7}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v4, v9}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_3
    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AdvertisementDetail;->getText()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v8, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getTextColor()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    if-nez v3, :cond_5

    :cond_4
    const-string v0, "000000"
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_5
    :try_start_1
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v7, "#"

    invoke-direct {v3, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v8, v0}, Landroid/widget/TextView;->setTextColor(I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_6
    :goto_2
    :try_start_2
    invoke-virtual {v8, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v4, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v5, -0x1

    invoke-direct {v0, v3, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v6, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v3, v4, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    invoke-direct {p0, v0, v1}, Lcom/wqmobile/sdk/widget/ADView;->a(Landroid/view/View;Lcom/wqmobile/sdk/model/AdvertisementProperties;)Landroid/view/View;

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v0, "ad text end"

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->d()V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->forceLayout()V

    :goto_3
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_12

    iget v0, p0, Lcom/wqmobile/sdk/widget/ADView;->q:I

    if-eq v0, v2, :cond_12

    new-instance v0, Landroid/view/animation/RotateAnimation;

    const/high16 v1, -0x3d4c

    const/4 v3, 0x0

    invoke-direct {v0, v1, v3}, Landroid/view/animation/RotateAnimation;-><init>(FF)V

    const-wide/16 v3, 0x1f4

    invoke-virtual {v0, v3, v4}, Landroid/view/animation/RotateAnimation;->setDuration(J)V

    new-instance v1, Lcom/wqmobile/sdk/widget/x;

    invoke-direct {v1, p0}, Lcom/wqmobile/sdk/widget/x;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/RotateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    :goto_4
    iput v2, p0, Lcom/wqmobile/sdk/widget/ADView;->q:I

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->setVisibility(I)V

    new-instance v0, Ljava/sql/Timestamp;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-direct {v0, v1, v2}, Ljava/sql/Timestamp;-><init>(J)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->k:Ljava/sql/Timestamp;

    :goto_5
    return-void

    :cond_7
    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v0, v4}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    new-instance v4, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v6, -0x1

    invoke-direct {v4, v5, v6}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/wqmobile/sdk/protocol/cmd/b;->a(Ljava/lang/Exception;)V

    goto :goto_5

    :cond_8
    shl-int/lit8 v5, v0, 0x1

    :try_start_3
    div-int/lit8 v5, v5, 0x3

    goto/16 :goto_1

    :catch_1
    move-exception v0

    const/high16 v0, -0x100

    invoke-virtual {v8, v0}, Landroid/widget/TextView;->setTextColor(I)V

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-static {}, Lcom/wqmobile/sdk/protocol/cmd/b;->a()V

    goto/16 :goto_2

    :cond_9
    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getType()Ljava/lang/String;

    move-result-object v0

    const-string v3, "P"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    invoke-virtual {v0}, Landroid/widget/ViewFlipper;->removeAllViews()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    const/4 v3, 0x1

    invoke-static {v0, v3}, Lcom/wq/utility/MyApiAdapter;->SetFlipperAutoStart(Landroid/widget/ViewFlipper;Z)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->removeAllViews()V

    invoke-static {}, Ljava/lang/System;->gc()V

    :goto_6
    if-eqz v1, :cond_b

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_b

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_b

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    const/4 v3, 0x0

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [B

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->a([B)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    new-instance v3, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getFittingStrategy()Ljava/lang/String;

    move-result-object v0

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v6, -0x1

    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    if-eqz v0, :cond_f

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v5

    if-lez v5, :cond_f

    sget-object v5, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    const-string v5, "width"

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_d

    sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    :cond_a
    :goto_7
    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    invoke-virtual {v0, v3}, Landroid/widget/ViewFlipper;->addView(Landroid/view/View;)V

    :cond_b
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, -0x1

    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/widget/ViewFlipper;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->l:Landroid/widget/ViewFlipper;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    invoke-direct {p0, v0, v1}, Lcom/wqmobile/sdk/widget/ADView;->a(Landroid/view/View;Lcom/wqmobile/sdk/model/AdvertisementProperties;)Landroid/view/View;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->d()V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->forceLayout()V

    goto/16 :goto_3

    :cond_c
    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v0, v3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->h:Landroid/widget/RelativeLayout;

    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v4, -0x1

    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_6

    :cond_d
    const-string v5, "height"

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_e

    sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_CENTER:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    goto :goto_7

    :cond_e
    const-string v5, "size"

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_f

    const-string v5, "stretch"

    invoke-virtual {v0, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    goto :goto_7

    :cond_f
    sget-object v0, Landroid/widget/ImageView$ScaleType;->CENTER_INSIDE:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    goto :goto_7

    :cond_10
    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getType()Ljava/lang/String;

    move-result-object v0

    const-string v3, "M"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_11

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    new-instance v0, Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v0, v3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->g:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->g:Landroid/widget/LinearLayout;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v4, -0x1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v5

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v3, Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v3, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v4, -0x1

    const/4 v5, -0x1

    invoke-direct {v0, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v0

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [B

    const/4 v1, 0x0

    array-length v4, v0

    invoke-static {v0, v1, v4}, Landroid/graphics/BitmapFactory;->decodeByteArray([BII)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->g:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->m()Landroid/view/View$OnClickListener;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->g:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->addView(Landroid/view/View;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->d()V

    goto/16 :goto_3

    :cond_11
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    sub-int/2addr v1, v4

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->c()V

    goto/16 :goto_5

    :cond_12
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    goto/16 :goto_4

    :cond_13
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->c()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0

    goto/16 :goto_5
.end method

.method static synthetic f(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 2

    const-string v0, "I\'m in refresh ad"

    invoke-static {v0}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->f()V

    return-void
.end method

.method private g()Lcom/wqmobile/sdk/model/AdvertisementProperties;
    .locals 11

    const/4 v1, 0x1

    const/4 v9, 0x0

    const/4 v5, 0x0

    new-instance v0, Ljava/lang/Exception;

    invoke-direct {v0}, Ljava/lang/Exception;-><init>()V

    invoke-virtual {v0}, Ljava/lang/Exception;->getStackTrace()[Ljava/lang/StackTraceElement;

    move-result-object v0

    aget-object v0, v0, v1

    sget-object v1, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v1, "TestNewLoop"

    const-string v2, "in getAdsAndRemove"

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    invoke-virtual {v0}, Ljava/lang/StackTraceElement;->getClassName()Ljava/lang/String;

    move-result-object v0

    const-class v1, Lcom/wqmobile/sdk/widget/ADView;

    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    if-ltz v0, :cond_f

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    :try_start_0
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-gez v0, :cond_1

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_12

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v0, v2, :cond_6

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AppSettings;->getIntNextADCount()Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    if-ge v0, v2, :cond_6

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3

    move-object v2, v0

    :goto_0
    :try_start_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v3

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AppSettings;->getLoopTimes()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    if-le v0, v3, :cond_11

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v3

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AppSettings;->getIntNextADCount()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    if-gt v0, v3, :cond_7

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    move v3, v0

    :goto_1
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v4, "del count:"

    invoke-direct {v0, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v4, " props size:"

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    monitor-enter v4
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    :goto_2
    if-lt v5, v3, :cond_8

    :try_start_2
    monitor-exit v4
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    const/4 v0, 0x1

    :try_start_3
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_2

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->t()V

    :cond_2
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_a

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0

    move-object v1, v0

    :goto_3
    if-nez v1, :cond_10

    :try_start_4
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_10

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iget v0, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    if-lez v0, :cond_10

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    if-nez v2, :cond_c

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    const-string v4, "default_ad.png"

    invoke-virtual {v3, v4}, Ljava/lang/Class;->getResourceAsStream(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v3

    invoke-static {v3}, Lcom/wqmobile/sdk/protocol/p;->a(Ljava/io/InputStream;)[B

    move-result-object v3

    if-nez v3, :cond_b

    move-object v2, v9

    :goto_4
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1

    const/4 v1, 0x1

    :try_start_5
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    const/4 v1, 0x0

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    :goto_5
    if-eqz v0, :cond_5

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getIsOffline()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_3

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getIsOffline()Ljava/lang/String;

    move-result-object v1

    const-string v2, "N"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_d

    :cond_3
    new-instance v1, Ljava/sql/Timestamp;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-direct {v1, v2, v3}, Ljava/sql/Timestamp;-><init>(J)V

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->k:Ljava/sql/Timestamp;

    invoke-static {v2, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/sql/Timestamp;Ljava/sql/Timestamp;)J

    move-result-wide v1

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "CurShowIndex:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->p:Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " AdIndex:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->p:Ljava/lang/Integer;

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    if-eq v3, v4, :cond_4

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRemainShowTime()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    sget-object v4, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->d()I

    move-result v4

    if-lt v3, v4, :cond_4

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->n()V

    invoke-static {v0}, Lcom/wqmobile/sdk/widget/ADView;->b(Lcom/wqmobile/sdk/model/AdvertisementProperties;)Z

    move-result v3

    if-nez v3, :cond_4

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v4

    const-string v5, "view"

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRunningCount()Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v3, v4, v5, v1, v2}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;)V

    :cond_4
    :goto_6
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->p:Ljava/lang/Integer;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    :cond_5
    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "adIndex="

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " size="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " loopsize="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AppSettings;->getIntNextADCount()Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " show="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " appCount="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AppSettings;->getLoopTimes()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " id="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    if-nez v0, :cond_e

    const-string v2, ""

    :goto_7
    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_2

    :goto_8
    return-object v0

    :cond_6
    const/4 v0, 0x0

    :try_start_6
    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_3

    :try_start_7
    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    iput-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_2

    move-object v2, v0

    goto/16 :goto_0

    :cond_7
    :try_start_8
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getIntNextADCount()Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_0

    move-result v0

    move v3, v0

    goto/16 :goto_1

    :cond_8
    :try_start_9
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_9

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    new-instance v6, Ljava/lang/StringBuilder;

    const-string v0, "del"

    invoke-direct {v6, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    const/4 v7, 0x0

    invoke-interface {v0, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v6, "rcount:"

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v6, "index"

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v6, "TestNewLoop"

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v0, "del ad id:"

    invoke-direct {v7, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    const/4 v8, 0x0

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v6, v0}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    const/4 v6, 0x0

    invoke-interface {v0, v6}, Ljava/util/List;->remove(I)Ljava/lang/Object;
    :try_end_9
    .catchall {:try_start_9 .. :try_end_9} :catchall_0

    :cond_9
    add-int/lit8 v0, v5, 0x1

    move v5, v0

    goto/16 :goto_2

    :catchall_0
    move-exception v0

    :try_start_a
    monitor-exit v4

    throw v0
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_a} :catch_0

    :catch_0
    move-exception v0

    move-object v1, v2

    :goto_9
    invoke-static {v0}, Lcom/wqmobile/sdk/pojoxml/util/StringUtil;->PrintExceptionStatck(Ljava/lang/Exception;)V

    move-object v0, v1

    goto/16 :goto_8

    :cond_a
    move-object v1, v9

    goto/16 :goto_3

    :cond_b
    :try_start_b
    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v3, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-direct {v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;-><init>()V

    sput-object v3, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v3, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setImageList(Ljava/util/List;)V

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    const-string v3, "P"

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setType(Ljava/lang/String;)V

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    const-string v3, "-99"

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setAdID(Ljava/lang/String;)V

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    const-string v3, "N"

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setIsOffline(Ljava/lang/String;)V

    :cond_c
    new-instance v2, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-direct {v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;-><init>()V

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setAdID(Ljava/lang/String;)V

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getImageList()Ljava/util/List;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setImageList(Ljava/util/List;)V

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getType()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setType(Ljava/lang/String;)V

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->u:Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getIsOffline()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setIsOffline(Ljava/lang/String;)V

    new-instance v3, Lcom/wqmobile/sdk/model/AdvertisementAction;

    invoke-direct {v3}, Lcom/wqmobile/sdk/model/AdvertisementAction;-><init>()V

    new-instance v4, Lcom/wqmobile/sdk/model/actiontype/ClickToCall;

    invoke-direct {v4}, Lcom/wqmobile/sdk/model/actiontype/ClickToCall;-><init>()V

    const-string v5, "4000999770"

    invoke-virtual {v4, v5}, Lcom/wqmobile/sdk/model/actiontype/ClickToCall;->setPhoneNumber(Ljava/lang/String;)V

    const-string v5, "6"

    invoke-virtual {v3, v5}, Lcom/wqmobile/sdk/model/AdvertisementAction;->setActionType(Ljava/lang/String;)V

    invoke-virtual {v3, v4}, Lcom/wqmobile/sdk/model/AdvertisementAction;->setClickToCall(Lcom/wqmobile/sdk/model/actiontype/ClickToCall;)V

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setAction(Lcom/wqmobile/sdk/model/AdvertisementAction;)V

    const/4 v3, 0x0

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setRunningCount(Ljava/lang/Integer;)V

    sget-object v3, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->d()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setRemainShowTime(Ljava/lang/Integer;)V
    :try_end_b
    .catch Ljava/lang/Exception; {:try_start_b .. :try_end_b} :catch_1

    goto/16 :goto_4

    :catch_1
    move-exception v0

    goto/16 :goto_9

    :cond_d
    :try_start_c
    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_6

    :catch_2
    move-exception v1

    move-object v10, v1

    move-object v1, v0

    move-object v0, v10

    goto/16 :goto_9

    :cond_e
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;
    :try_end_c
    .catch Ljava/lang/Exception; {:try_start_c .. :try_end_c} :catch_2

    move-result-object v2

    goto/16 :goto_7

    :cond_f
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/a/a;->e()V

    move-object v0, v9

    goto/16 :goto_8

    :catch_3
    move-exception v0

    move-object v1, v9

    goto/16 :goto_9

    :cond_10
    move-object v0, v1

    goto/16 :goto_5

    :cond_11
    move-object v1, v2

    goto/16 :goto_3

    :cond_12
    move-object v2, v9

    goto/16 :goto_0
.end method

.method static synthetic g(Lcom/wqmobile/sdk/widget/ADView;)Ljava/lang/Integer;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    return-object v0
.end method

.method static synthetic h(Lcom/wqmobile/sdk/widget/ADView;)Landroid/widget/FrameLayout;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->M:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    if-nez v0, :cond_0

    new-instance v0, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    const-string v0, "b_logo.png"

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v0

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_0
    return-void
.end method

.method private i()I
    .locals 1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v0

    mul-int/lit8 v0, v0, 0x28

    div-int/lit8 v0, v0, 0x60

    return v0
.end method

.method static synthetic i(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 4

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->b(Landroid/content/Context;)I

    move-result v0

    if-lez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string v2, "4000999770"

    const-string v3, "http://www.wqmobile.com/"

    invoke-virtual {v0, v1, v2, v3}, Lcom/wqmobile/sdk/a/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "http://www.wqmobile.com/"

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_0
.end method

.method private j()I
    .locals 1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v0

    mul-int/lit8 v0, v0, 0x3a

    div-int/lit8 v0, v0, 0x60

    return v0
.end method

.method static synthetic j(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(I)V

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    const/16 v1, 0xff

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(I)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->v()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    :cond_1
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    return-void
.end method

.method static synthetic k(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->l()V

    return-void
.end method

.method private k()Z
    .locals 11

    const-wide/16 v9, 0xc8

    const-wide/16 v7, 0x14

    const/4 v6, 0x0

    const/4 v5, 0x0

    const-string v0, "WQHW"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "status:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " thread name:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->f:Lcom/wqmobile/sdk/widget/af;

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->e:Lcom/wqmobile/sdk/widget/af;

    if-ne v0, v1, :cond_1

    sget-object v0, Lcom/wqmobile/sdk/widget/af;->a:Lcom/wqmobile/sdk/widget/af;

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v1, 0x42d6

    invoke-direct {v0, v1, v5, v5, v5}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    invoke-virtual {v0, v9, v10}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v7, v8}, Landroid/view/animation/Animation;->setStartOffset(J)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->o()V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->clearAnimation()V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->startAnimation(Landroid/view/animation/Animation;)V

    const-string v0, "WQHW"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "btn is going back:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " left:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getLeft()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " view width"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getWidth()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v6

    goto :goto_0

    :cond_1
    const-string v0, "WQHW"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "layout width in has confirm going to show btn:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " left:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getLeft()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " view width"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getWidth()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getTop()I

    move-result v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v2

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3}, Landroid/widget/LinearLayout;->getTop()I

    move-result v3

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v4}, Landroid/widget/LinearLayout;->getHeight()I

    move-result v4

    add-int/2addr v3, v4

    invoke-virtual {v0, v6, v1, v2, v3}, Landroid/widget/LinearLayout;->layout(IIII)V

    const-string v0, "WQHW"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "layout width in has confirm after layout:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " left:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getLeft()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " right"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getRight()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/high16 v1, -0x3d2a

    invoke-direct {v0, v1, v5, v5, v5}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    invoke-virtual {v0, v9, v10}, Landroid/view/animation/Animation;->setDuration(J)V

    invoke-virtual {v0, v7, v8}, Landroid/view/animation/Animation;->setStartOffset(J)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "mActionBtnLayout W:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->D:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getWidth()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/af;->e:Lcom/wqmobile/sdk/widget/af;

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    move v0, v6

    goto/16 :goto_0
.end method

.method static synthetic l(Lcom/wqmobile/sdk/widget/ADView;)I
    .locals 1

    iget v0, p0, Lcom/wqmobile/sdk/widget/ADView;->x:I

    return v0
.end method

.method private l()V
    .locals 5

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-wide v1, p0, Lcom/wqmobile/sdk/widget/ADView;->S:J

    const-wide/16 v3, 0x0

    cmp-long v1, v1, v3

    if-lez v1, :cond_0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iget-wide v3, p0, Lcom/wqmobile/sdk/widget/ADView;->S:J

    sub-long/2addr v1, v3

    const-wide/16 v3, 0x3e8

    div-long/2addr v1, v3

    long-to-int v1, v1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRemainShowTime()Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    sub-int v1, v2, v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setRemainShowTime(Ljava/lang/Integer;)V

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "showingtime"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "remain:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method private m()Landroid/view/View$OnClickListener;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->m:Landroid/view/View$OnClickListener;

    if-nez v0, :cond_0

    new-instance v0, Lcom/wqmobile/sdk/widget/r;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/r;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->m:Landroid/view/View$OnClickListener;

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->m:Landroid/view/View$OnClickListener;

    return-object v0
.end method

.method static synthetic m(Lcom/wqmobile/sdk/widget/ADView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->F:Z

    return v0
.end method

.method private n()V
    .locals 1

    sget-object v0, Lcom/wqmobile/sdk/widget/af;->a:Lcom/wqmobile/sdk/widget/af;

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->o()V

    return-void
.end method

.method static synthetic n(Lcom/wqmobile/sdk/widget/ADView;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    return v0
.end method

.method private o()V
    .locals 6

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    const/16 v1, -0x6b

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getTop()I

    move-result v2

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v3}, Landroid/widget/LinearLayout;->getWidth()I

    move-result v3

    const/16 v4, 0x6b

    sub-int/2addr v3, v4

    iget-object v4, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v4}, Landroid/widget/LinearLayout;->getTop()I

    move-result v4

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v5}, Landroid/widget/LinearLayout;->getHeight()I

    move-result v5

    add-int/2addr v4, v5

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->layout(IIII)V

    return-void
.end method

.method static synthetic o(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 4

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    if-eqz v0, :cond_0

    new-instance v0, Lcom/wqmobile/sdk/widget/v;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/v;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->T:Ljava/util/Timer;

    const-wide/16 v2, 0xbb8

    invoke-virtual {v1, v0, v2, v3}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V

    :cond_0
    return-void
.end method

.method private p()I
    .locals 3

    const/high16 v2, 0x4248

    const/4 v0, 0x0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AppSettings;->getHeight()Ljava/lang/Integer;

    move-result-object v1

    if-eqz v1, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AppSettings;->getHeight()Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    :cond_0
    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getHeight()I

    move-result v1

    if-lez v1, :cond_3

    move v0, v1

    :cond_1
    :goto_0
    sget-object v1, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_2

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "get height"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getHeight()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " paramHeight:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    iget v2, v2, Landroid/view/ViewGroup$LayoutParams;->height:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    :cond_2
    return v0

    :cond_3
    if-gtz v0, :cond_1

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Min View Height:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    :cond_4
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-static {v0, v2}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v0

    goto :goto_0
.end method

.method static synthetic p(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->s()V

    return-void
.end method

.method private q()V
    .locals 1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->F:Z

    iput-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->s()V

    return-void
.end method

.method static synthetic q(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->w()V

    return-void
.end method

.method static synthetic r(Lcom/wqmobile/sdk/widget/ADView;)Ljava/lang/Boolean;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    return-object v0
.end method

.method private r()V
    .locals 6

    const/4 v3, 0x0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->q()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_0

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getLeft()I

    move-result v1

    iget v2, p0, Lcom/wqmobile/sdk/widget/ADView;->H:I

    sub-int/2addr v1, v2

    int-to-float v1, v1

    invoke-direct {v0, v1, v3, v3, v3}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v1, 0xc8

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    iget v2, p0, Lcom/wqmobile/sdk/widget/ADView;->H:I

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v3}, Landroid/widget/RelativeLayout;->getTop()I

    move-result v3

    iget v4, p0, Lcom/wqmobile/sdk/widget/ADView;->H:I

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v5}, Landroid/widget/RelativeLayout;->getWidth()I

    move-result v5

    add-int/2addr v4, v5

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v5}, Landroid/widget/RelativeLayout;->getBottom()I

    move-result v5

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/RelativeLayout;->layout(IIII)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->y:Landroid/widget/RelativeLayout;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_0
    return-void
.end method

.method private s()V
    .locals 2

    const/16 v1, 0xff

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->z:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(I)V

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->A:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->B:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setAlpha(I)V

    return-void
.end method

.method static synthetic s(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->e()V

    return-void
.end method

.method static synthetic t(Lcom/wqmobile/sdk/widget/ADView;)Landroid/app/Activity;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    return-object v0
.end method

.method private t()V
    .locals 7

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->c()I

    move-result v1

    if-ge v0, v1, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-virtual {v1, v2}, Lcom/wqmobile/sdk/a/a;->a(Ljava/util/List;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-nez v0, :cond_0

    sub-int v0, v1, v0

    const/4 v2, 0x2

    if-lt v0, v2, :cond_0

    const/4 v0, -0x1

    const/4 v2, 0x0

    move v3, v0

    :goto_0
    if-lt v2, v1, :cond_1

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRunningCount()Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sget-object v4, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v4}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v4

    if-eqz v4, :cond_2

    sget-object v4, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v4, "TestNewLoop"

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "cur runningCount"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, " precount:"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_2
    if-ge v0, v3, :cond_3

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iput-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    add-int/lit8 v0, v0, 0x1

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v0, "TestNewLoop"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "adIndex:"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " showCount:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->o:Ljava/lang/Integer;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    :cond_3
    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_0
.end method

.method static synthetic u(Lcom/wqmobile/sdk/widget/ADView;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->g:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private u()Lcom/wqmobile/sdk/model/AdvertisementProperties;
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    move-object v0, v2

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    if-gez v0, :cond_1

    const/4 v0, 0x0

    :cond_1
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lt v0, v1, :cond_2

    move-object v0, v2

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-object v0, p0

    goto :goto_0
.end method

.method private v()V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    :cond_0
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    return-void
.end method

.method static synthetic v(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 9

    const/4 v8, 0x0

    const/16 v7, 0x11

    const/4 v4, 0x1

    const/4 v6, -0x1

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_10

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    if-eqz v0, :cond_10

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    if-nez v0, :cond_f

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-gtz v0, :cond_1

    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    :goto_0
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/wqmobile/sdk/model/AdvertisementProperties;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v1

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getIsOffline()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Y"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->b(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    :cond_0
    :goto_1
    return-void

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    sub-int/2addr v0, v4

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    goto :goto_0

    :cond_2
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    const-string v1, "ClickToURL"

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToURL()Lcom/wqmobile/sdk/model/actiontype/ClickToURL;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToURL;->getURL()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1, v4}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto :goto_1

    :cond_3
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "2"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    const-string v1, "ClickToDownload"

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto :goto_1

    :cond_4
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "3"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    const-string v1, "ClickToDownload"

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto :goto_1

    :cond_5
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "4"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_6

    const-string v1, "ClickToDownload"

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getDownloadAndroid()Lcom/wqmobile/sdk/model/actiontype/DownloadAndroid;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/actiontype/DownloadAndroid;->getTarget()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_6
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "5"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->k()Z

    move-result v2

    if-eqz v2, :cond_0

    const-string v2, "ClickToMedia"

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToMedia()Lcom/wqmobile/sdk/model/actiontype/ClickToMedia;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToMedia;->getTarget()Ljava/lang/String;

    move-result-object v1

    new-instance v2, Landroid/widget/FrameLayout;

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v2, v3}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v3, v6, v6}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v7}, Landroid/widget/FrameLayout;->setForegroundGravity(I)V

    const/high16 v4, -0x100

    invoke-virtual {v2, v4}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    new-instance v4, Landroid/widget/LinearLayout;

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v4, v5}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v5, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v4, v7}, Landroid/widget/LinearLayout;->setGravity(I)V

    invoke-virtual {v2, v4}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v5, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-virtual {v5, v2, v3}, Landroid/app/Activity;->addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    invoke-virtual {v3, v1}, Landroid/widget/VideoView;->setVideoPath(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    invoke-virtual {v4, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Lcom/wqmobile/sdk/widget/d;

    invoke-direct {v1, p0}, Lcom/wqmobile/sdk/widget/d;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v2, v7}, Landroid/widget/FrameLayout;->setForegroundGravity(I)V

    invoke-static {v8}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->j:Landroid/widget/VideoView;

    invoke-virtual {v1}, Landroid/widget/VideoView;->start()V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_7
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "6"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_8

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->k()Z

    move-result v2

    if-eqz v2, :cond_0

    const-string v2, "ClickToCall"

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToCall()Lcom/wqmobile/sdk/model/actiontype/ClickToCall;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToCall;->getPhoneNumber()Ljava/lang/String;

    move-result-object v1

    const-string v4, ""

    invoke-virtual {v2, v3, v1, v4}, Lcom/wqmobile/sdk/a/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_8
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "7"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_9

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->k()Z

    move-result v2

    if-eqz v2, :cond_0

    const-string v2, "ClickToMap"

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    sget-object v2, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToMap()Lcom/wqmobile/sdk/model/actiontype/ClickToMap;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToMap;->getMapLink()Ljava/lang/String;

    move-result-object v1

    invoke-static {v2, v1}, Lcom/wqmobile/sdk/a/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_9
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "8"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    const-string v2, "ClickToSearch"

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToSearch()Lcom/wqmobile/sdk/model/actiontype/ClickToSearch;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToSearch;->getSearchLink()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v2

    const-string v3, "http://"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_a

    invoke-virtual {v1}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v2

    const-string v3, "https://"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_a

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "http://www.baidu.com/s?wd="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :cond_a
    invoke-direct {p0, v1, v4}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_b
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "9"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_c

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->k()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "ClickToSMS"

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToSMS()Lcom/wqmobile/sdk/model/actiontype/ClickToSMS;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToSMS;->getTarget()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToSMS()Lcom/wqmobile/sdk/model/actiontype/ClickToSMS;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/actiontype/ClickToSMS;->getContent()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lcom/wqmobile/sdk/widget/f;

    invoke-direct {v3, p0, v1, v2}, Lcom/wqmobile/sdk/widget/f;-><init>(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v2, Landroid/app/AlertDialog$Builder;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v2, v4}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\u4f60\u8981\u5411"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v4, "\u53d1\u9001\u77ed\u4fe1\u5417\uff1f"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const-string v2, "\u5426"

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const-string v2, "\u662f"

    invoke-virtual {v1, v2, v3}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Dialog;->show()V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_c
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "10"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_d

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->k()Z

    move-result v2

    if-eqz v2, :cond_0

    const-string v2, "ClickToMail"

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToMail()Lcom/wqmobile/sdk/model/actiontype/ClickToMail;

    move-result-object v2

    invoke-virtual {v2}, Lcom/wqmobile/sdk/model/actiontype/ClickToMail;->getTarget()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToMail()Lcom/wqmobile/sdk/model/actiontype/ClickToMail;

    move-result-object v3

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/actiontype/ClickToMail;->getContent()Lcom/wqmobile/sdk/model/actiontype/MailContent;

    move-result-object v3

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/actiontype/MailContent;->getTitle()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getClickToMail()Lcom/wqmobile/sdk/model/actiontype/ClickToMail;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/ClickToMail;->getContent()Lcom/wqmobile/sdk/model/actiontype/MailContent;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/actiontype/MailContent;->getBody()Ljava/lang/String;

    move-result-object v1

    new-instance v4, Lcom/wqmobile/sdk/widget/e;

    invoke-direct {v4, p0, v2, v3, v1}, Lcom/wqmobile/sdk/widget/e;-><init>(Lcom/wqmobile/sdk/widget/ADView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v1, v3}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v5, "\u4f60\u8981\u5411"

    invoke-direct {v3, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\u53d1\u9001\u90ae\u4ef6\u5417\uff1f"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const-string v2, "\u5426"

    invoke-virtual {v1, v2, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    const-string v2, "\u662f"

    invoke-virtual {v1, v2, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Dialog;->show()V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_d
    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAction()Lcom/wqmobile/sdk/model/AdvertisementAction;

    move-result-object v1

    invoke-virtual {v1}, Lcom/wqmobile/sdk/model/AdvertisementAction;->getActionType()Ljava/lang/String;

    move-result-object v1

    const-string v2, "13"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getAdID()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/a/a;->c(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v2

    if-nez v2, :cond_e

    const-string v0, "file does not exist"

    invoke-static {v0}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    goto/16 :goto_1

    :cond_e
    const-string v2, "ClickToSearch"

    invoke-virtual {v0, v2}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->setButtonName(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->removeAllViews()V

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "file://"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/wqmobile/sdk/widget/ADView;->openBuildInWebView(Ljava/lang/String;)V

    invoke-direct {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->a(Lcom/wqmobile/sdk/model/AdvertisementProperties;)V

    goto/16 :goto_1

    :cond_f
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->r()V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->w()V

    goto/16 :goto_1

    :cond_10
    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->O:Z

    if-nez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v0, "########Could not be click on view"

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    goto/16 :goto_1
.end method

.method private w()V
    .locals 5

    const/4 v2, 0x0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/wqmobile/sdk/widget/ADView;->S:J

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    invoke-virtual {v0}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRemainShowTime()Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-gez v0, :cond_0

    move v0, v2

    :cond_0
    sget-object v1, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v1

    if-eqz v1, :cond_1

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v1, "TestNewLoop"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "remian time:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v3

    invoke-virtual {v3}, Lcom/wqmobile/sdk/model/AdvertisementProperties;->getRemainShowTime()Ljava/lang/Integer;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    const/4 v2, 0x1

    invoke-direct {p0, v2}, Lcom/wqmobile/sdk/widget/ADView;->a(Z)Ljava/util/TimerTask;

    move-result-object v2

    mul-int/lit16 v0, v0, 0x3e8

    int-to-long v3, v0

    invoke-virtual {v1, v2, v3, v4}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V

    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->R:Ljava/util/Timer;

    invoke-direct {p0, v2}, Lcom/wqmobile/sdk/widget/ADView;->a(Z)Ljava/util/TimerTask;

    move-result-object v1

    const-wide/16 v2, 0xbb8

    invoke-virtual {v0, v1, v2, v3}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;J)V

    goto :goto_0
.end method

.method static synthetic w(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->t()V

    return-void
.end method

.method static synthetic x(Lcom/wqmobile/sdk/widget/ADView;)Lcom/wqmobile/sdk/model/AdvertisementProperties;
    .locals 1

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    return-object v0
.end method

.method static synthetic y(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->f()V

    return-void
.end method

.method static synthetic z(Lcom/wqmobile/sdk/widget/ADView;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->v()V

    return-void
.end method


# virtual methods
.method public final Init(Ljava/io/InputStream;)V
    .locals 2

    :try_start_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    if-nez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/io/InputStream;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;)Lcom/wqmobile/sdk/model/AppSettings;

    :cond_0
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->c()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public final Init(Ljava/lang/String;)V
    .locals 2

    :try_start_0
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    if-nez v0, :cond_0

    iput-object p1, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Ljava/lang/String;)Lcom/wqmobile/sdk/model/AppSettings;

    :cond_0
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->c()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public final a()V
    .locals 2

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v0, "got ia result success in view"

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    sget-object v1, Lcom/wqmobile/sdk/widget/af;->b:Lcom/wqmobile/sdk/widget/af;

    if-ne v0, v1, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/af;->c:Lcom/wqmobile/sdk/widget/af;

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->J:Lcom/wqmobile/sdk/widget/af;

    new-instance v0, Lcom/wqmobile/sdk/widget/s;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/widget/s;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {p0, v0}, Lcom/wqmobile/sdk/widget/ADView;->post(Ljava/lang/Runnable;)Z

    :cond_0
    return-void
.end method

.method public final makeView()Landroid/view/View;
    .locals 2

    new-instance v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    return-object v0
.end method

.method protected final onLayout(ZIIII)V
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "I\'m in onLayout left:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getLeft()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " r:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " t:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " b:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    invoke-super/range {p0 .. p5}, Landroid/widget/RelativeLayout;->onLayout(ZIIII)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->r:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->s:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    if-eqz v0, :cond_0

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    sub-int v1, p4, p2

    invoke-static {v1}, Ljava/lang/Math;->abs(I)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AppSettings;->setWidth(Ljava/lang/Integer;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    sub-int v1, p5, p3

    invoke-static {v1}, Ljava/lang/Math;->abs(I)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/model/AppSettings;->setHeight(Ljava/lang/Integer;)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/a/a;->a(Lcom/wqmobile/sdk/model/AppSettings;)Ljava/lang/String;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->e()V

    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->s:Ljava/lang/Boolean;

    :cond_0
    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->q()V

    return-void
.end method

.method protected final onSizeChanged(IIII)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/RelativeLayout;->onSizeChanged(IIII)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getWidth()I

    move-result v1

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getHeight()I

    move-result v2

    if-eqz v2, :cond_0

    if-nez v1, :cond_2

    :cond_0
    move v0, v5

    :goto_0
    if-nez v0, :cond_6

    invoke-static {v5}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    sput-object v0, Lcom/wqmobile/sdk/widget/ADView;->r:Ljava/lang/Boolean;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->removeAllViews()V

    :cond_1
    :goto_1
    return-void

    :cond_2
    invoke-virtual {v0}, Landroid/view/Display;->getWidth()I

    move-result v3

    if-gt v1, v3, :cond_3

    invoke-virtual {v0}, Landroid/view/Display;->getHeight()I

    move-result v0

    if-gt v2, v0, :cond_3

    mul-int v0, v1, v2

    const/16 v1, 0x9c4

    if-ge v0, v1, :cond_4

    :cond_3
    const-string v0, "The non test version may not be able to get advertisements due to the width or height you set exceeds the actual screen, or the width*height you set is less than 2500."

    new-instance v1, Landroid/app/AlertDialog$Builder;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v1, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const-string v2, "Message"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const-string v1, "\u786e\u5b9a"

    new-instance v2, Lcom/wqmobile/sdk/widget/p;

    invoke-direct {v2, p0}, Lcom/wqmobile/sdk/widget/p;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    move v0, v4

    goto :goto_0

    :cond_4
    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getVisibility()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_5

    move v0, v4

    goto :goto_0

    :cond_5
    move v0, v5

    goto :goto_0

    :cond_6
    sget-object v0, Lcom/wqmobile/sdk/a/f;->a:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_7

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "I\'m in onSizeChanged, h:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/wqmobile/sdk/a/f;->a(Ljava/lang/String;)V

    :cond_7
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-static {}, Lcom/wqmobile/sdk/a/a;->b()Lcom/wqmobile/sdk/model/AppSettings;

    move-result-object v0

    if-eqz v0, :cond_1

    if-gtz p2, :cond_8

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->p()I

    move-result v0

    :goto_2
    sget-object v1, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v1, p1, v0}, Lcom/wqmobile/sdk/a/a;->a(II)V

    goto :goto_1

    :cond_8
    move v0, p2

    goto :goto_2
.end method

.method public final onWindowFocusChanged(Z)V
    .locals 1

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    const-string v0, "I\'m in onWindowFocusChanged  visibility="

    invoke-static {v0}, Lcom/wqmobile/sdk/a/a;->c(Ljava/lang/String;)V

    return-void
.end method

.method protected final onWindowVisibilityChanged(I)V
    .locals 3

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-super {p0, p1}, Landroid/widget/RelativeLayout;->onWindowVisibilityChanged(I)V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->r:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_1

    if-nez p1, :cond_3

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_2

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->w:Ljava/lang/Boolean;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->e()V

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    :cond_0
    :goto_0
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/a/a;->f()V

    :cond_1
    return-void

    :cond_2
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    goto :goto_0

    :cond_3
    const/16 v0, 0x8

    if-ne p1, v0, :cond_0

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->u()Lcom/wqmobile/sdk/model/AdvertisementProperties;

    move-result-object v0

    if-eqz v0, :cond_5

    iget-boolean v0, p0, Lcom/wqmobile/sdk/widget/ADView;->G:Z

    if-nez v0, :cond_4

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->l()V

    :cond_4
    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/wqmobile/sdk/a/a;->b(Ljava/util/List;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->v()V

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->n:Ljava/lang/Integer;

    :cond_5
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    sget-object v0, Lcom/wqmobile/sdk/widget/ADView;->b:Lcom/wqmobile/sdk/a/a;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/a/a;->a()V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->c()V

    goto :goto_0
.end method

.method public final openBuildInWebView(Ljava/lang/String;)V
    .locals 14

    const/4 v13, 0x0

    const/4 v9, 0x3

    const/4 v12, 0x0

    const/4 v11, -0x1

    const/4 v10, 0x1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-static {v12}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->f:Ljava/lang/Boolean;

    invoke-static {v12}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->l()V

    invoke-direct {p0}, Lcom/wqmobile/sdk/widget/ADView;->v()V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    if-nez v0, :cond_1

    new-instance v0, Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    new-instance v0, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v0, v11, v11}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v11}, Landroid/widget/FrameLayout;->setBackgroundColor(I)V

    new-instance v1, Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v1, v2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, v10}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v2, Landroid/webkit/WebView;

    iget-object v3, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-direct {v2, v3}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setUseWideViewPort(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-static {v2, v10}, Lcom/wq/utility/MyApiAdapter;->setLoadWithOverviewMode(Landroid/webkit/WebSettings;Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    const/high16 v3, 0x200

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->setScrollBarStyle(I)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setPluginsEnabled(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setLoadsImagesAutomatically(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setSupportZoom(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    new-instance v3, Lcom/wqmobile/sdk/widget/ADView$MyJavascriptInterface;

    invoke-direct {v3, p0}, Lcom/wqmobile/sdk/widget/ADView$MyJavascriptInterface;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    const-string v4, "MyWQ"

    invoke-virtual {v2, v3, v4}, Landroid/webkit/WebView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v10}, Landroid/webkit/WebSettings;->setJavaScriptCanOpenWindowsAutomatically(Z)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    new-instance v3, Lcom/wqmobile/sdk/widget/g;

    invoke-direct {v3, p0}, Lcom/wqmobile/sdk/widget/g;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    new-instance v3, Lcom/wqmobile/sdk/widget/i;

    invoke-direct {v3, p0}, Lcom/wqmobile/sdk/widget/i;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x41f0

    invoke-static {v2, v3}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v2

    new-instance v3, Landroid/widget/RelativeLayout;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-direct {v3, v4}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v11, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const-string v4, "wv_head_back.png"

    invoke-direct {p0, v4}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    new-instance v4, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "wv_head_close.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const v5, 0xf426b

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setId(I)V

    new-instance v5, Lcom/wqmobile/sdk/widget/j;

    invoke-direct {v5, p0}, Lcom/wqmobile/sdk/widget/j;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    const/high16 v6, 0x40e0

    invoke-static {v5, v6}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v5

    invoke-virtual {v4, v10}, Landroid/widget/ImageView;->setAdjustViewBounds(Z)V

    const/4 v6, 0x6

    const/16 v7, 0xc

    const/4 v8, 0x6

    invoke-virtual {v4, v5, v6, v7, v8}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v6, Landroid/widget/RelativeLayout$LayoutParams;

    add-int/2addr v5, v2

    invoke-direct {v6, v5, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0xf

    invoke-virtual {v6, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v4, v6}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v2, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v2, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v5, "wv_head_text.png"

    invoke-direct {p0, v5}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v5

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    const v5, 0xf426c

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setId(I)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v6

    const/high16 v7, 0x4375

    invoke-static {v6, v7}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v6

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v7

    const/high16 v8, 0x4170

    invoke-static {v7, v8}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v7

    invoke-direct {v5, v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v6, 0xf

    invoke-virtual {v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/16 v6, 0xe

    invoke-virtual {v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v2, v12}, Landroid/widget/ImageView;->setAlpha(I)V

    new-instance v5, Lcom/wqmobile/sdk/widget/m;

    invoke-direct {v5, p0}, Lcom/wqmobile/sdk/widget/m;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v2, v5}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v5, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const-string v6, "wv_head_arrow_to_left.png"

    invoke-direct {p0, v6}, Lcom/wqmobile/sdk/widget/ADView;->a(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    sget-object v6, Landroid/widget/ImageView$ScaleType;->FIT_END:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-virtual {v5, v9, v9, v9, v9}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v6, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v7

    const/high16 v8, 0x41a0

    invoke-static {v7, v8}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v7

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v8

    const/high16 v9, 0x41a0

    invoke-static {v8, v9}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v8

    invoke-direct {v6, v7, v8}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v7, 0xf

    invoke-virtual {v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const v7, 0xf426c

    invoke-virtual {v6, v10, v7}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    invoke-virtual {p0}, Lcom/wqmobile/sdk/widget/ADView;->getContext()Landroid/content/Context;

    move-result-object v7

    const/high16 v8, 0x4110

    invoke-static {v7, v8}, Lcom/wqmobile/sdk/protocol/p;->a(Landroid/content/Context;F)I

    move-result v7

    iput v7, v6, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    const/16 v7, 0xb

    invoke-virtual {v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v6, Lcom/wqmobile/sdk/widget/n;

    invoke-direct {v6, p0, v5, v2}, Lcom/wqmobile/sdk/widget/n;-><init>(Lcom/wqmobile/sdk/widget/ADView;Landroid/widget/ImageView;Landroid/widget/ImageView;)V

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v6, Lcom/wqmobile/sdk/widget/q;

    invoke-direct {v6, p0}, Lcom/wqmobile/sdk/widget/q;-><init>(Lcom/wqmobile/sdk/widget/ADView;)V

    invoke-virtual {v3, v6}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v3, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v3, v5}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v11, v11}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    iget-object v2, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v2, v0}, Landroid/app/Activity;->addContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iput-boolean v12, p0, Lcom/wqmobile/sdk/widget/ADView;->a:Z

    :cond_1
    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v0}, Landroid/webkit/WebView;->requestFocusFromTouch()Z

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->Q:Landroid/webkit/WebView;

    invoke-virtual {v0, p1}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->c:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    new-instance v1, Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0}, Landroid/view/Display;->getHeight()I

    move-result v0

    int-to-float v0, v0

    invoke-direct {v1, v13, v13, v0, v13}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V

    const-wide/16 v2, 0xc8

    invoke-virtual {v1, v2, v3}, Landroid/view/animation/Animation;->setDuration(J)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v12}, Landroid/widget/FrameLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/wqmobile/sdk/widget/ADView;->P:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->startAnimation(Landroid/view/animation/Animation;)V

    goto/16 :goto_0
.end method
